package com.app.dao;

import java.util.Collection;

import com.app.entity.Product;

public interface ProductDao {
	Product load(int id);
	
	Collection<Product> findProductByParameter(Product product);
	
	void saveOrUpdateProduct(Product product);
	
	void deleteProduct(String idStr);
	
	int updateOnline(String idStr,int value);
}
